package lotus.blog.lotusblog.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

import java.util.List;

@Data
@TableName(autoResultMap = true)
public class Article {
    private int id;
    private int userId;
    private int classificationId;
    private String title;
    private String summary;
    private String articleContent;
    private String releaseTime;
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> tags;

}
